package model

import (
	"gorm.io/gorm"
)

// 用户-好友 对象(表)
type UserContact struct {
	gorm.Model
	User      User   `gorm:"foreignKey:OwnerId"`
	OwnerId   uint   `json:"ownerId" form:"ownerId" column:"owner_id"`       // 用户id
	ContactId uint   `json:"contactId" form:"contactId" column:"contact_id"` // 好友id
	Desc      string `json:"desc" form:"desc"`
}
